package cn.player;
import cn.player.download.DownloadInfo;
import cn.player.AIDLDownloadClient;

interface AIDLDownloadService {

	int addNewTask(in DownloadInfo entity,int priority);
	
	void startTask(in DownloadInfo entity);
	
	void stopTask(in DownloadInfo entity);
	
	void deleteTask(in DownloadInfo entity);
	
	void setClientIMPL(in AIDLDownloadClient aidlClient);
	
	AIDLDownloadClient getClientIMPL();
	
	List getAllTask();
	
}
